<!--
- Author:   .
- Date:    2018/2/6 0006.
- File:    app-down.
-->
<template>
  <div class="appdown f-cb" v-show="deviceType != 'APICloud'">
    <!--<div class="applogo"><img src="../assets/images/lgoo2.png"></div>-->
    <!--<div class="downtit"><p>推荐下载新版app,操作更便捷</p>-->
      <!--<p class="webnet">http://www.mtveve.com</p></div>-->
    <!--<div class="downbtn" @click="gotoDown">立即下载</div>-->
  </div>
</template>

<script>
  export default{
    data() {
      return {
        deviceType: this.$utils.getDeviceType()
      }
    },
    components: {},
    methods: {
      gotoDown() {
        if (this.deviceType == 'Android' || this.deviceType == 'wx-Android') {
          window.location = this.$config.androidDownUrl
        } else if (this.deviceType == 'iPhone' || this.deviceType == 'wx-iPhone') {
          window.location = this.$config.iosDownUrl
        }
      }
    }
  }
</script>

<style>

</style>